/*
 * DerbyServ.cpp
 *
 *  Created on: May 8, 2011
 *      Author: michael
 */

#include "StdAfx.h"
#include "MainManager.h"

int main(int argc, char ** argv)
{
	using namespace DerbyServ;
	LOGI("server started... ");
	try
	{
		MainManager mgr;
		mgr.Start();
	}
	catch (std::exception & ex)
	{
		LOGE(ex.what());
	}
	catch (...)
	{
		LOGE("unknown error");
	}
	LOGI("server finished. ");
	return 0;
}
